projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21e4847
)
Avoid a pointless goto
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 31 Aug 2018 17:23:59 +0000
(13:23 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 31 Aug 2018 17:24:17 +0000
(13:24 -0400)
We can just return here.
gtk/gtkapplication-dbus.c
patch
|
blob
|
history
diff --git
a/gtk/gtkapplication-dbus.c
b/gtk/gtkapplication-dbus.c
index 3c241ca7b0dbb83a16dd68a0b5713283551f2d4b..a1f6eb0c3ab7557b10f9a4189478b67d4ae379f0 100644
(file)
--- a/
gtk/gtkapplication-dbus.c
+++ b/
gtk/gtkapplication-dbus.c
@@
-436,7
+436,7
@@
gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
{
g_debug ("Failed to get an inhibit portal proxy: %s", error->message);
g_clear_error (&error);
-
goto end
;
+
return
;
}
if (register_session)
@@
-471,8
+471,6
@@
gtk_application_impl_dbus_startup (GtkApplicationImpl *impl,
g_free (token);
}
}
-
-end:;
}
static void